<template>
  <div id="bgcBox">
      <div class="middleInfo">
        <p><slot></slot></p>
      </div>
    </div>
</template>

<script>
export default {
    
}
</script>

<style scoped>
#bgcBox .middleInfo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}
#bgcBox .middleInfo p {
  font-size: 5.3125rem;
  color: #fff;
  font-weight: 900;
  text-shadow: 0 0 15px;
  animation: textChange 3s linear infinite;
}
@keyframes textChange {
  0%,
  100% {
    text-shadow: 4px 6px 25px rgb(241, 101, 101);
  }
  50% {
    text-shadow: 0 0 10px rgb(241, 101, 101);
  }
}
#bgcBox {
  position: relative;
  height: 338px;
  background: url("~assets/img/48.jpg") no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
#bgcBox::before {
  content: "";
  display: block;
  float: left;
  width: 100%;
  height: 100%;
  background-image:url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/images/grid.png);
}
@media screen and (max-width:320px) {
  #app #bgcBox {
    height: 280px;
  }
}
</style>